package com.ujs.edu.demo.dataobject;

import java.util.Date;

/**
 * 
 * @date 2020/04/29
 */
public class BcNews {
    /**
     * 主键，自增
     */
    private Integer id;

    /**
     * 新闻标题
     */
    private String title;

    /**
     * 新闻链接
     */
    private String newhref;

    /**
     * 所属类别，外键
     */
    private Integer categoryid;

    /**
     * 新闻发布时间
     */
    private Date createtime;

    /**
     * 新闻内容
     */
    private String content;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getNewhref() {
        return newhref;
    }

    public void setNewhref(String newhref) {
        this.newhref = newhref;
    }

    public Integer getCategoryid() {
        return categoryid;
    }

    public void setCategoryid(Integer categoryid) {
        this.categoryid = categoryid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}